package com.woniu.model.medicalService.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 问诊订单表
 * </p>
 *
 * @author 西瓜
 * @since 2023-10-18
 */
@Getter
@Setter
  @TableName("ms_consultation_order")
@ApiModel(value = "ConsultationOrder对象", description = "问诊订单表")
public class ConsultationOrder implements Serializable {

    private static final long serialVersionUID = 1L;

      @ApiModelProperty("问诊订单表")
        @TableId(value = "id", type = IdType.AUTO)
      private Long id;

      @ApiModelProperty("订单编号")
      private String number;

      @ApiModelProperty("问题描述")
      private String describe;

      @ApiModelProperty("医生回答")
      private String answer;

      @ApiModelProperty("提问方式")
      private Integer way;

      @ApiModelProperty("提问时间")
      private Date questionDate;

      @ApiModelProperty("解答时间")
      private Date answerDate;

      @ApiModelProperty("订单状态")
      private Integer status;

      @ApiModelProperty("满意度")
      private Integer satisfaction;

      @ApiModelProperty("评价内容")
      private String evaluationContent;

      @ApiModelProperty("用户id(外键)")
      private Long msUserId;

      @ApiModelProperty("医院id(外键)")
      private Long msHospitalId;

      @ApiModelProperty("科室id(外键)")
      private Long msDepartmentId;

      @ApiModelProperty("用户健康id(外键)")
      private Long msUserHealthId;

      @ApiModelProperty("问诊方式id(外键)")
      private Long msConsultationWayId;


}
